package com.noahplat.user.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

/**
 * @author
 * @version 1.0.0
 * @Date: 2021/2/24 16:17
 **/
@Data
@Table(name = "tb_user_role")
public class UserRole {

    @Id
    private Long uid; // 用户Id

    @Id
    private Long rid; // 角色Id
}
